<template>
  <a-config-provider :locale="zhCN" prefix-cls="cp">
    <router-view/>
  </a-config-provider>
</template>
<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import {useRouter} from "vue-router";
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
(window as any).__router = useRouter()
</script>
<style>
#app{
  position: relative;
  width: 100%;
  height: 100%;
}
</style>
